package com.randi.monitor.dto;

import com.randi.monitor.dto.service.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.LinkedList;
import java.util.List;

/**
 * 服务器相关信息
 *
 * @author randi
 */
@Data
@ApiModel(value = "SysServer", description = "服务器相关信息")
public class SysServer {

    @ApiModelProperty(value = "CPU相关信息")
    private Cpu cpu = new Cpu();

    @ApiModelProperty(value = "内存相关信息")
    private Memory memory = new Memory();

    @ApiModelProperty(value = "JVM相关信息")
    private Jvm jvm = new Jvm();

    @ApiModelProperty(value = "系统相关信息")
    private Sys system = new Sys();

    @ApiModelProperty(value = "磁盘相关信息")
    private List<Disk> disks = new LinkedList<>();
}
